package com.twu.biblioteca;
import java.util.ArrayList;

public class BibliotecaApp {

    final static String WELCOME = "Welcome to the Bangalore Public Library!";

    public static void main(String[] args) {

        Book lolita = new Book("Lolita");
        lolita.setAvailable(false);
        Book familylife = new Book("Family Life");
        ArrayList<Book> books = new ArrayList<Book>();
        books.add(lolita);
        books.add(familylife);

        Movie thequeen = new Movie("The Queen", 2003, "Helen Mirren", 7);
        Movie hair = new Movie("Hair", 1979, "Milos Forman", 10);
        hair.setAvailable(false);
        ArrayList<Movie> movies = new ArrayList<Movie>();
        movies.add(thequeen);
        movies.add(hair);

        Library biblioteca = new Library(books, movies);
        MainMenu mainMenu = new MainMenu(biblioteca);

        System.out.println(WELCOME);

        mainMenu.launchMainMenu();

    }
}
